package com.zf.shuashua.advert.mg;

import android.util.Log;

import com.zf.shuashua.BuildConfig;

public class MLog {

    private final static String defaultTag = "shuashua";

    public static void logd(String content) {
        logd(defaultTag, content);
    }

    public static void logd(String tag, String content) {
        if (BuildConfig.ENABLE_DEBUG)
            Log.d(tag, content);
    }


    public static void loge(String content) {
        loge(defaultTag, content);
    }

    public static void loge(String tag, String content) {
        if (BuildConfig.ENABLE_DEBUG)
            Log.e(tag, content);
    }


    public static void logi(String content) {
        logi(defaultTag, content);
    }

    public static void logi(String tag, String content) {
        if (BuildConfig.ENABLE_DEBUG)
            Log.i(tag, content);
    }

}
